﻿using System.Collections.Generic;

namespace TaxiService.Bus
{
  public interface IBus<TArg>
  {
    void Publish<T>(T message) where T : TArg;
    void Publish<T>(IEnumerable<T> messages) where T : TArg;
  }
}
